package com.griddroid.messages;

import java.io.Serializable;

/**
 * acknowledgment that the ping message arrived. It's a pong message
 * 
 * @author Charalampos Mavroforakis
 * @author Thomas Ailianos
 * @author Michail Michailidis
 * 
 */
public class PingAckMessage extends GenericMessage implements Serializable
{

	private static final long serialVersionUID = -7824229497646428382L;
	/**
	 * id of the node issuing the message
	 */
	private String nodeId;

	public String getNodeId()
	{
		return nodeId;
	}

	public PingAckMessage(String nodeId)
	{
		super();
		this.nodeId = nodeId;
	}

}
